<?php

declare(strict_types=1);

namespace App\Admin\Service\System;

use App\Admin\Mapper\System\SystemQueueLogMapper;
use App\Admin\Model\System\SystemUser;
use App\Admin\Vo\System\AmqpQueueVo;
use App\Admin\Vo\System\QueueMessageVo;
use DI\Attribute\Inject;
use Newbie\Abstracts\AbstractService;
use Newbie\exception\NormalStatusException;


/**
 * 队列管理服务类
 */
class SystemQueueLogService extends AbstractService {
    /**
     * @var SystemQueueLogMapper
     */
    public $mapper;

    /**
     * @var SystemUserService
     */
    #[Inject]
    protected SystemUserService $userService;


    /**
     * SystemQueueLogService constructor.
     * @param SystemQueueLogMapper $mapper
     */
    public function __construct (SystemQueueLogMapper $mapper) {
        $this->mapper = $mapper;
    }

    /**
     * 修改队列日志的生产状态
     * @param string $ids
     * @return bool
     */
    public function updateProduceStatus (string $ids): bool {
        // TODO...
        return true;
    }

}